package com.neu.service.impl;

import com.neu.dao.UserDao;
import com.neu.po.User;
import com.neu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;

    @Override
    public User findById(int userId) {
        return userDao.selectById(userId);
    }
}
